package com.leo.base_project.activity.main;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.leo.base_project.R;
import com.leo.base_project.Utils.SystemUtils;
import com.leo.base_project.activity.base.BaseActivityX;
import com.leo.base_project.activity.module_Impl.bluImpl.BluTestActivity;
import com.leo.base_project.activity.database.DataBaseActivity;
import com.leo.base_project.activity.login.LoginActivity;
import com.leo.base_project.activity.module_Impl.chartImpl.LineChartTestActivity;
import com.leo.base_project.activity.module_Impl.socketImpl.SocketTestActivity;

public class MainTestActivity extends BaseActivityX {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main_test);
        SystemUtils.getPermissions(this);
    }

    @Override
    public void initData() {
        super.initData();
    }

    @Override
    public void initView() {
        super.initView();
    }

    public void testLogin(View view) {
        startActivity(new Intent(this, LoginActivity.class));
    }

    public void testBlu(View view) {
        startActivity(new Intent(this, BluTestActivity.class));
    }

    public void testSocket(View view) {startActivity(new Intent(this, SocketTestActivity.class)); }

    public void testDatabase(View view) {
        startActivity(new Intent(this, DataBaseActivity.class));
    }

    public void testLineChart(View view) {startActivity(new Intent(this, LineChartTestActivity.class)); }
}